using System;
using Common.NotifyEvent;

namespace SExperiment.ExperimentResult
{
	[Serializable]
	public class MeltPeak : NotifyPropertyChanged
	{
		private double _Tm;

		private double _Rm;

		private double _Width;

		private double _YValue;

		private bool _IsUnknown;

		public double Tm
		{
			get
			{
				return _Tm;
			}
			set
			{
				if (_Tm != value)
				{
					_Tm = value;
					OnPropertyChanged("Tm");
				}
			}
		}

		public double Rm
		{
			get
			{
				return _Rm;
			}
			set
			{
				if (_Rm != value)
				{
					_Rm = value;
					OnPropertyChanged("Tm");
				}
			}
		}

		public double Width
		{
			get
			{
				return _Width;
			}
			set
			{
				if (_Width != value)
				{
					_Width = value;
					OnPropertyChanged("Width");
				}
			}
		}

		public double YValue
		{
			get
			{
				return _YValue;
			}
			set
			{
				if (_YValue != value)
				{
					_YValue = value;
					OnPropertyChanged("YValue");
				}
			}
		}

		public bool IsUnknown
		{
			get
			{
				return _IsUnknown;
			}
			set
			{
				if (_IsUnknown != value)
				{
					_IsUnknown = value;
					OnPropertyChanged("IsUnknown");
				}
			}
		}
	}
}
